<!--[pnajaxheader modname=crpCalendar filename=crpcalendar.js noscriptaculous=true nobehaviour=true]-->

<div class="z-formrow">
    <label for="eventid_category"><!--[gt text="Category" domain="module_crpcalendar"]--></label>
    <!--[selector_category category=$mainCategory name="eventid_category" field="id" selectedValue=$selectedCategoryId defaultValue="0" __defaultText="Choose Category" editLink=false]-->
</div>

<div class="z-formrow">
    <label for="contentEvent"><!--[gt text="Event from crpCalendar" domain="module_crpcalendar"]--></label>
    <select id="contentEvent" name ="eventid">
        <!--[section name=item loop=$events]-->
        <option value="<!--[$events[item].id]-->"><!--[$events[item].start_date]--> - <!--[$events[item].name]--></option>
        <!--[/section]-->
    </select>
</div>

<script type="text/javascript">
    Event.observe(window, 'load', function(){crpCalendarContentLoad();}, false);
</script>
